package com.scproject.scbef.service.study.hotpolitics;

import com.scproject.dto.ResponseDto;
import com.scproject.scbef.pojo.HotPolitics;

import javax.servlet.http.HttpServletRequest;

/**
 * @author LNL
 * @date 2021/5/22 12:37
 */
public interface HotPoliticsService {
    /**
     * 获取所有的时事政治
     * @return
     */
    ResponseDto getAllHotPolitics();

    /**
     * 删除时事政治
     * @param id
     * @return
     */
    ResponseDto deleteHotPolitics(String id);

    /**
     * 添加时事政治
     * @param hotPolitics
     * @param request
     * @return
     */
    ResponseDto insertHotPolitics(HotPolitics hotPolitics, HttpServletRequest request);

    /**
     * 修改某个时事政治
     * @param hotPolitics
     * @param request
     * @return
     */
    ResponseDto updateHotPolitics(HotPolitics hotPolitics, HttpServletRequest request);
}
